<?php
/**
 * Created by PhpStorm.
 * User: hehecat
 * Date: 2018/7/10
 * Time: 13:22
 */

namespace app\api\model;

use think\Db;

use think\Model;

class PrizeModel extends Model
{
    function prizelist() {
        $prizes =  db('prize')->select();
        return ['prizelist'=>$prizes];
    }
}